package com.ux.util
{
	import flash.display.MovieClip;

	public class VectorSortUtil
	{
		
		
		
		
		
		
		public static function lastNameCompare( a:MovieClip, b:MovieClip ):Number
		{
			var _a : int = int( a.name.substr( a.name.length-1 ) );
			var _b : int = int( b.name.substr( b.name.length-1 ) );
			
			if( _a < _b ) return -1;
			else if( _a > _b ) return 1;
			else return 0;
		}
		
		
		
		public function VectorSortUtil()
		{
		}
	}
}